package com.bwie.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Article {

    private Integer articleId;
    private String articleName;
    private String articleText;
    private Integer articleNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date articleDate;
    private Integer articleStatus;
    private Integer userId;
    private Integer typeId;

    private String userName;
    private String typeName;

}
